package publish

import (
	"GoMaestro/internal/api"

	"github.com/gin-gonic/gin"
)

type PubRouter struct{}

func (*PubRouter) Router(r gin.IRouter) {
	g := r.Group("/v1")
	PublishApi := api.GroupApp.PublishApiGroup
	g.POST("/jen/pub", PublishApi.Doing)
	g.POST("/jen/pub/batch", PublishApi.BatchDoing)
}
